/*
 * All rights Reserved, Designed By Yealink
 * Copyright (c) 2017/12/25 by Yealink
 *
 * @author yl1633
 * Createdate:  2017/12/25 11:18
 */
package com.xx.login_required.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author fanjj
 * @date 2017/12/25
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface LoginRequired {
    public boolean enable() default true;
    public String permission() default "";
}
